home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Essentials / ResEdit 2.1.3.sea / ResEdit 2.1.3 / Examples / CExamples / BuildEditor next >
Text File  |  1994-07-15  |  755b  |  32 lines

  1. #ResEdit CExample
  2. #This is the script file BuildEditor which builds the c ResEdit editor example 
  3. #
  4. #    Copyright Apple Computer, Inc. 1986-1990
  5. #    All rights reserved.
  6. #
  7.  
  8. Open "{WorkSheet}"
  9.  
  10. set start `date -n`
  11. echo Building the ResEdit c editor example
  12. date -t
  13.  
  14. # Set the directory to the 'CExamples MPW 3.0' folder
  15. directory "{boot}"ResEdit:Examples:CExamples:
  16.  
  17. # Set the variable to indicate where ResEdit can be found.
  18. #  This variable is used by the make file to put the 
  19. #  example editor into ResEdit.
  20. set buildToName "{boot}ResEdit:ResEdit"
  21. Export buildToName
  22.  
  23. make -f MakeEditor > temp
  24. temp
  25. delete temp
  26.  
  27. beep 
  28. set end `date -n`
  29. echo "        " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"
  30.  
  31.  
  32.